<template>
            <div>
                   <div class = "centents"> 
                         <div class="msg-row">
                                 <div class="lf choose-title">名称</div>
                                <el-input v-model="addRoad" size="mini" style="width:420px;margin-left:28px" class="choose-input"></el-input>
                                <div class="cb"></div>
                         </div>
                          <div class="lf choose-title">起始时间</div>
                          <el-date-picker type="date" v-model="dateFrom" style="width: 150px;" size="mini" class="lf choose-input"></el-date-picker>
                            <div class="lf choose-title choose-input">至</div>
                           <el-date-picker type="date" v-model="dateTo" style="width: 150px;" size="mini" class="lf"></el-date-picker>
                           <div class="middles" style = "margin-top:70px;">
                          <div class="lf choose-title " style = "clear:both;">票价调整</div>
                          <el-select v-model="ClassType" placeholder="请选择" size="mini" style="width:140px;margin-left:18px;float:left" class="rf choose-input">
                                                    <el-option
                                                    v-for="item in classTypeList"
                                                    :key="item.value"
                                                    :label="item.label"
                                                    :value="item.value">
                                                    </el-option>
                                                </el-select>
                        </div>
                            <div class="msg-row">
                                 <div class="lf choose-title">调整值</div>
                                <el-input v-model="addRoad" size="mini" style="width:420px;margin-left:28px" class="choose-input"></el-input>
                                <div class="cb"></div>
                         </div>
                          <el-row class = "floatleft"> 
                              
                            <el-col :span="24">
                              <avue-form v-model="createForm" :option="createOption" class="yz-form"></avue-form>
                            </el-col>
                          </el-row>
                    </div>
            </div>
</template>
<script>
const DIC={
  openType:[
    {
      label:"当班",
      value:"1"
    },
    {
      label:"全部",
      value:"2"
    },
    {
      label:"按日期",
      value:"3"
    },
  ],
  tongBuSetting:[
    {
      label:"同步",
      value:"1"
    },
  ],
  longS:[
    {
      label:"",
      value:"1"
    }
  ],
  TongS:[
    {
      label:"",
      value:"1"
    }
  ],
  copyCheckList1:[
    {
      label:"座位",
      value:"seat"
    },
    {
      label:"票价",
      value:"price"
    },
    {
      label:"车牌",
      value:"vecho"
    },
    {
      label:"营运单位",
      value:"comp"
    },
    {
      label:"班车车型",
      value:"carStyle"
    },
    {
      label:"班次状态",
      value:"classState"
    },
    {
      label:"班次类型",
      value:"classStyle"
    },
    {
      label:"预售天数",
      value:"sellDay"
    },
    {
      label:"检票门",
      value:"checkDoor"
    },
    
  ],
  copyCheckList2:[
    {
      label:"发车卡位",
      value:"seat"
    },
    {
      label:"是否配套",
      value:"suitable"
    },
    {
      label:"是否启用",
      value:"startable"
    },
    {
      label:"是否加班",
      value:"isAdd"
    },
    {
      label:"允许远程售票",
      value:"sellFar"
    },
    {
      label:"终点站",
      value:"end"
    },
    {
      label:"打印班次时间",
      value:"printTime"
    },
    {
      label:"打印班次号",
      value:"printID"
    },
    {
      label:"打印座位号",
      value:"printSeat"
    },
  ],
  createList1:[
    {
      label:"同步到同线路其他班次",
      value:"recoverTable"
    }
  ],
  createList2:[
    {
      label:"维持目标班次票价启用/禁用状态",
      value:"updateTable"
    }
  ],
//   createList3:[
//     {
//       label:"生成票计划表",
//       value:"createPlan"
//     }
//   ],
//   createList4:[
//     {
//       label:"覆盖已生成的票价计划",
//       value:"recoverPlan"
//     }
//   ],
};
export default {
     data(){
      return {
      createForm:'',
      ClassType:'',
       createOption:{
        dicData:DIC,
        column:[
          {
            label:"",
            span:24,
            type:"checkbox",
            prop:"recoverTable",
            dicData: 'createList1'
          },
          {
            label:"",
            span:24,
            type:"checkbox",
            prop:"update",
            dicData: 'createList2'
          },
          {
            label:"",
            span:24,
            type:"checkbox",
            prop:"createPlan",
            dicData: 'createList3'
          },
          {
            label:"",
            span:24,
            type:"checkbox",
            prop:"recoverPlan",
            dicData: 'createList4'
          },
        ]
      }
         };
     },
     methods:{

     },
}
</script>
<style scoped>
    .centents{
        margin:30px;
    }
    .floatleft{
        margin-left:-90px;
    }
   .middles{
     
   }
</style>

